package com.inforich.app.api.dto;

import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description: 分配预约单
 * @author: HJM
 * @date: 2022/11/1
 */
@Data
@EqualsAndHashCode()
public class BookingAllocationDTO {

  @NotBlank(message = "预约单ID不能为空")
  private String bookingId;
  @NotEmpty(message = "分配司机不可为空")
  private List<Long> driverIds;
}
